# Contributor: Paper <paper@tilde.institute>
# Maintainer: Paper <paper@tilde.institute>
pkgname=epub2txt
pkgver=2.01
pkgrel=0
pkgdesc="CLI utility for extracting text from EPUB documents"
url="https://github.com/kevinboone/epub2txt2"
arch="all"
license="GPL-3.0-only"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/kevinboone/epub2txt2/archive/v$pkgver.tar.gz"
options='!check' #no testsuite
builddir="$srcdir/$pkgname"2"-$pkgver"

build() {
	make
}

package() {
	make PREFIX=/usr DESTDIR="$pkgdir" install
}

sha512sums="87796e94cfa76380cd901f7c3ce7a09ebe510771966980a15df91df78330eab57453d83c2bfe4a2e502040f1809d0e1b0f8ef135597222f99495b81bde4ebe41  epub2txt-2.01.tar.gz"
